<?php
/**
* 
*/
class jianlishiyanbaogaoView extends GetLoad
{
	
	
		public function jianliView($data){
				$this->load("Controller/user1");
				$daohang =new ControllerName();
				$daohang->Getname(0);
				//var_dump($data);

?>


        <select onchange="window.location=this.value;">
              <option ><?php if($data['guanlizhe_id']!=0){echo "已选择";}else{echo "请选择管理老师";}?></option>
            <?php foreach ($data['laoshi'] as $laoshi) {
             ?>
            
        <option value=<?php echo "'./index.php?route=Controller/xuesheng/ControllerXuesheng/shiyanbaogao&=".$laoshi['id']."/".$data['shiyanshi_id']."'" ?> > <?php echo $laoshi['name']; ?></option>
        <?php } ?>
        </select>
        <select onchange="window.location=this.value;">
             <option ><?php if($data['shiyanshi_id']!=0){echo "已选择";}else{echo "请选择实验室";}?></option>
             <?php foreach ($data['shiyanshi'] as $shiyanshi) {
             ?>
        <option value=<?php echo "'./index.php?route=Controller/xuesheng/ControllerXuesheng/shiyanbaogao&=".$data['guanlizhe_id']."/".$shiyanshi['shiyanshi_id']."'" ?>><?php echo $shiyanshi['haoma'] ?></option>
            <?php } ?>
        </select>

        <p>仪器选择</p>

         <form action="./get.php" method="get">

              <?php foreach ($data['yiqi'] as $yiqi) {
             ?>
          <input type="checkbox" name="yiqi[]" value=<?php echo "'".$yiqi['yiqi_id']."'" ; ?>> <?php echo $yiqi['name'] ; ?> <br>
             <?php } ?>

             <input type="hidden" name="laoshi" value= <?php echo "'".$data['guanlizhe_id']."'";?> >
              <input type="hidden" name="shiyanshi" value= <?php echo "'".$data['shiyanshi1']."'";?> >
          <input type="submit" value="提交">
        </form>
        				
         </div>
           
         <div class="col-sm-4" style="margin-top:300px;">
         	
            	
            
         </div>
            
       </div>
    </div>

    
</body>
</html>
<?php 
	}
}

?>